﻿@model PhoneBilling.Models.PrintModel
@{
    ViewBag.Title = "分机管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
        function print() {
            @{
                TempData["PrintContent"] = Model.Content;
            }
            windows.open('../Shared/Print');      
            return false;     
        }
</script>

@*@Html.ActionLink("打印" , "Print" , "Shared")*@
<a href="../Shared/Print" onclick="print()" onkeypress="print()" target="_blank"><span>打印</span></a>
@Html.Raw(Model.Content)
